package com.tanhua.sso.server.controller;


import com.tanhua.sso.server.service.MockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("mock")
public class MockController {

    @Autowired
    private MockService mockService;

    /**
     * 测灵魂-问卷列表（学生实战）
     * @return
     */
    @GetMapping("report/{id}")
    public ResponseEntity report(@PathVariable Long id){
        return mockService.report(id);
    }





}
